<%@ page language="java" import="java.util.List" pageEncoding="UTF-8"%>
<%@ page import= "com.roadmap.common.BaseConst"%>
<%@ page import="com.roadmap.struts.action.ActionConst"%>
<%@ page import="com.roadmap.common.RdcResourceBundle" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="expires" content="0"/> 
<link href="res/css/layout.css" rel="stylesheet" type="text/css" media="all" />
<link href="res/css/sns.css" rel="stylesheet" type="text/css" media="all" />
<title>通知 | <%=RdcResourceBundle.COMPANY_NAME %></title>

</head>

<body>
	<jsp:include page="/admin/myheader.jsp"></jsp:include>
	
	<!-- define the frame for logging on-->
	<div class="mainbody"><div class="manager">
	<jsp:include page="/admin/msg/nav_btns.jsp"/>
	
	<!-- middle part: content -->
	<div class="middle-part">
		<div class="section">
			<div class="title-sp">新通知</div>
			<div class="notice">
				<logic:notPresent name="notices"><span class="prompt-message">暂时没有新通知</span></logic:notPresent>
				<logic:present name="notices">
				<ul>
					<logic:iterate id="notice" name="notices">
					<li>
						<a href="aspirant.do?uid=<bean:write name='notice' property='dispatcherId'/>"><bean:write name='notice' property='dispatcherName'/></a>&nbsp;<bean:write name='notice' property='activity'/>你的<bean:write name='notice' property='entryType'/>&nbsp;<a target="_blank" href="<bean:write name='notice' property='actionURL'/>"><bean:write name='notice' property='entryDesc'/></a>
						<em><bean:write format='yyyy-MM-dd HH:mm' name='notice' property='createdTime'/></em>
						<logic:match name='notice' property="status" value="<%=String.valueOf(BaseConst.NOTICE_STATUS_UNREAD) %>"><img src="res/images/logo/newmsg.gif"/></logic:match>
					</li>
					</logic:iterate>
				</ul>
				</logic:present>
			</div>
		</div>
	</div>
	
	<!-- right part: -->
	<div class="right-part">
	</div>
	
	</div>
	
	<div class="clear-div"></div>
	</div>
	
	<jsp:include page="/res/jsp/footer.jsp"></jsp:include>

<script type="text/javascript">
</script>

</body>

</html>
